package com.wms.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "采购单")
public class Purchase2 {
    @ApiModelProperty(value = "id",hidden=true)
    private Integer id;
    /** 采购单号 */
    @ApiModelProperty(value = "采购单号",hidden=true)
    private String purchaseCode ;
    /** 供应商名称 */
    @ApiModelProperty(value = "供应商名称",notes = "")
    private String supplier ;
    /** 采购日期 */
    @ApiModelProperty(value = "采购日期",notes = "")
    private String purchaseDate ;
    /** 采购人 */
    @ApiModelProperty(value = "采购人",notes = "")
    private String purchaseUser ;
    /** 产品品类 */
    @ApiModelProperty(value = "产品品类",notes = "")
    private String category ;
    /**产品类型*/
    @ApiModelProperty(value = "产品类型",notes = "")
    private int productType;
    /** 入库状态;1 未入库  2 部分入库 3 已入库 */
    @ApiModelProperty(value = "入库状态",notes = "1 未入库  2 部分入库 3 已入库")
    private Integer storeStatus ;
    /** 交货方式 */
    @ApiModelProperty(value = "交货方式",notes = "")
    private String deliveryWay ;
    /** 交货地址 */
    @ApiModelProperty(value = "交货地址",notes = "")
    private String deliveryAddress ;
    /** 采购备注 */
    @ApiModelProperty(value = "采购备注",notes = "")
    private String note ;
    /** 是否紧急采购;0 不是  1  是 */
    @ApiModelProperty(value = "是否紧急采购",notes = "0 不是  1  是")
    private Integer isUrgency ;
    @ApiModelProperty(value = "采购明细")
    List<PurchaseDetail2> purchaseDetail2s;

}
